const {resolve}=require('path')
const r=path=>resolve(__dirname,path)

require('babel-core/register')({
    'presets': [
        'stage-3',
        ['latest-node',{ "target": "current" }]
    ],
    'plugins':[
        'transform-decorators-legacy',
        [
            'module-alias',[
                {
                    src:r('./app.js'),'expose':'~',
                  
                }
            ]
        ]
    ]
})

require('babel-polyfill')
require('./app.js')